package com.woniuedu.search.serviec;


import com.woniuedu.search.entity.Teacher;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * <p>
 * 讲师 服务类
 * </p>
 *
 * @author yuankaiqiang
 * @since 2022-04-19
 */
public interface TeacherService {
    Page<Teacher> findByAll(String title, Pageable pageable);
    void deleteById(String id);
    void save(Teacher teacher);
}
